<form id="pagerForm" method="post" action="{:U($module_name.'/'.$action_name."?model=".$model)}">
    <input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="{:U($module_name.'/'.$action_name)}" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li style="width:200px;">
				<label style="width: 50px;">关键字：</label>
				<input type="text" name="keywords" value="{$keywords}" style="width: 120px;"/>
				</li>
				<li style="width:60px;">
			<select name="sfield" class="combox">
				<option value="all" {if $sfield=='all'}selected="selected"{/if}>全部</option>
				<option value="id" {if $sfield=='id'}selected="selected"{/if}>产品ID</option>
				<option value="name" {if $sfield=='name'}selected="selected"{/if}>产品名称</option>
			</select>
                <li style="width:80px;">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                搜索
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <!-- <li><a class="edit" href="{:U('Price/edit')}" target="dialog" width="500" height="200"><span>Excel价格导入</span></a></li>
            <li><a class="edit selectedDo" href="{:U('Price/out')}" warn="请选择至少选择一个产品" target="dialog" data="ids[]" width="600" height="200" rel="dsadsasd"><span>Excel价格导出</span></a></li>
        	 --><li><a class="edit" href="{:U('Inventoryorder/repertory')}" target="dialog" width="500" height="200"><span>Excel更新库存</span></a></li>
        	 <li><a class="edit" href="{:U('Inventoryorder/delete')}" target="ajaxTodo" title="确实要清空库存吗?"><span>清空库存</span></a></li>
        </ul>
    </div>
    <div id="w_list_print">
        <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="94">
            <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids[]" class="checkboxCtrl"></th>
                <th width="40" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}> ID</th>
                <th>产品ID</th>
                <th>产品名称</th>
                <th>数量</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
            <tr target="sid_dv" rel="{$vo['id']}">
             	<td><input name="ids[]" value="{$vo['id']}" type="checkbox"></td>
             	<td align="center">{$vo['id']}</td>
                <td>{$vo['productid']}</td>
                <td>{$vo['name']}</td>
                <td>{$vo['number']}</td>
				<td>{$vo['ctime']|date="Y-m-d H:i:s",###}</td>                
            </tr>
            </volist>
            </tbody>
        </table>
    </div>
<include file="Index:pages" />
</div>